<?php
/**
 * Created by PhpStorm.
 * User: von
 * Date: 2017/12/8
 * Time: 10:50
 */
namespace common\helps;

/**
 * 配置文件
 */
class profiles {
    /*
     * 当前页数
     */
    public static function getPageNum(){
        return [5,10,20,30,40];
    }
    /**
     * 资产包当前状态
     */
    public static function getPakcageState() {
        return [
            1=>['name' => '--','val'=>'1'],
            2=>['name' => '启动尽调','val'=>'2'],
            3=>['name' => '已立项','val'=>'3'],
            4=>['name' => '已评估','val'=>'4'],
            5=>['name' => '已受让','val'=>'5'],
            6=>['name' => '待跟进','val'=>'6'],
            7=>['name' => '待跟进','val'=>'7'],
        ];
    }
    /*
     * 资产包价格
     */
    public static function getPackagePrice(){
        return [
            0 => ['name' => '价格不限', 'start' => 0, 'end' => 999999999999],
            1 => ['name' => '100万以下', 'start' => 0, 'end' => 1000000],
            2 => ['name' => '100-1000万', 'start' => 1000000, 'end' => 10000000],
            3 => ['name' => '1000-5000万', 'start' => 10000000, 'end' => 50000000],
            4 => ['name' => '5000-1亿', 'start' => 50000000, 'end' => 100000000],
            5 => ['name' => '1亿以上', 'start' => 100000000, 'end' => 999999999999],
        ];
    }
    /*
     *  资产包类别
     * 1 A自有资产包、2 B管理资产包、3 C共投共管资产包、4 D立项新包
     */
    public static function getCateGory(){
        return [
            1 => ['name' =>'A自有资产包','val' => '1'],
            2 => ['name' =>'B管理资产包','val' => '2'],
            3 => ['name' =>'C共投共管资产包','val' => '3'],
            4 => ['name' =>'D立项新包','val' => '4'],
        ];
    }
    /*
     * 资产包类型
     * 1保证类2抵押类3混合类
     */
    public static function getPackageType(){
        return [
            0 => ['name'=>'请选择','val' =>  '0'],
            1 => ['name' =>'保证类','val' => '1'],
            2 => ['name' =>'抵押类','val' => '2'],
            3 => ['name' =>'混合类','val' => '3'],
        ];
    }
}